import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import LoginView from "@/views/ReportView.vue";
import ReportView from "@/views/ReportView.vue";
import Interviewer from "@/views/Interviewer.vue";
import Arrange from "@/views/Arrange.vue";
import QuestionBank from "@/views/QuestionBank.vue";

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/report',
    name: 'report',
    component: ReportView
  },
  {
    path: '/interviewer',
    name: 'interviewer',
    component: Interviewer
  },
  {
    path: '/arrange',
    name: 'arrange',
    component: Arrange
  },
  {
    path: '/questionBank',
    name: 'questionBank',
    component: QuestionBank
  }

]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
